stack: Fix crash on g_object_get("visible-child")
authorBenjamin Otte <otte@redhat.com>
Mon, 25 Nov 2013 01:39:13 +0000 (02:39 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 25 Nov 2013 02:49:35 +0000 (03:49 +0100)
commit8308f4c1e9d654c77f50e4ea9b945cf382161009
tree0e2c6d745e937bea762a7ac3928c0758a82dab2c
parent46ed450a2995c98c44305077d3edcd10d6fd2bc3
stack: Fix crash on g_object_get("visible-child")

priv->visible_child is not a GtkWidget but a custom struct holding the
widget. So use the getter instead.
gtk/gtkstack.c